import request from "@/utils/request2";

//获取帮助
export function getHelp(data) {
  return request({
    url: `/help/findHelp`,
    method: "post",
    data,
  });
}
//上传图片
export const uploadImage = (data) => {
  return request({
    url: `/upload/img`,
    method: "post",
    data,
    headers: {
      "Content-Type": "multipart/form-data",
    },
  });
};
// 获取学生信息
export function getInfo() {
  return request({
    url: "/student/info",
    method: "get",
  });
}
